package com.wzh.yebServe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wzh.yebServe.pojo.Department;
import com.wzh.yebServe.pojo.ResultBean;

import java.util.List;

/**
 * @Author wzh
 * @create 2022/11/17 19:57
 * @Description:
 */
public interface IDepartmentService extends IService<Department> {
    List<Department> getAllDepartments();

    ResultBean addDep(Department department);

    ResultBean deleteDepartment(Integer id);
}
